home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 447 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: cribx1.u-bordeaux.fr!athena!skoruppa
  2. From: skoruppa@athena.ceremab.u-bordeaux.fr (Nils Skoruppa)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: LoadRGB32()
  5. Date: 4 Jan 1996 16:24:29 GMT
  6. Organization: ceremab
  7. Distribution: world
  8. Message-ID: <4cguvt$aa2@serveur.cribx1.u-bordeaux.fr>
  9. Reply-To: skoruppa@athena.ceremab.u-bordeaux.fr (Nils Skoruppa)
  10. NNTP-Posting-Host: athena.math.u-bordeaux.fr
  11.  
  12. I wrote (and used) a simple IFF-ILBM loader which works
  13. fine with pre-AGA files. It loads too IFF-ILBM
  14. images where the RGB values range between 0 and 255;
  15. of course, the colours are not displayed correctly.
  16. So I changed the program to use  LoadRGB32()
  17. instead of  LoadRGB4() (and ULONGs and so forth).
  18. Unfortunately, now AGA IFF-ILBM files are no longer
  19. loaded correctly, garbage is displayed instead
  20. (not only wrong colours, but a completely wrong
  21. bitmap). On the other hand, I did not at all touch the
  22. routine which (finds and) decodes the BODY to a BitMap.
  23. Since I have no documentation at all about 3.0 functions
  24. I am a little bit loast now.
  25.  
  26. Does anybody have a suggestion what ritual one has to
  27. perform when using LoadRGB43() ? And when, the hell,
  28. will there be a documentation (e.g. AUTODOCS !)
  29. available --- one has to waste so much try and
  30. error time when working without.
  31.  
  32. Thanks,
  33. ---NP. Skoruppa
  34.  
  35.  
  36.